﻿using System;
using System.Collections.Generic;
using System.Text;
using VietKinsNutrition.Data;
using System.Data;

namespace VietKinsNutrition.Bussiness
{
    public class ClsTblThamsodauvaoBLL : ClsBindingBLL
    {
        ClsTblThamsodauvaoDAL ClsTblThamsodauvaodal = new ClsTblThamsodauvaoDAL();
        public DataTable SelectAll()
        {
            return ClsTblThamsodauvaodal.SelectAll();
        }

        public void Insert(bool Baoanchitiet, bool Chitietdiemtruong)
        {
            ClsTblThamsodauvaodal.Insert(Baoanchitiet, Chitietdiemtruong);
        }

        public void EditValue2(int Id, bool Baoanchitiet, bool Chitietdiemtruong)
        {
            ClsTblThamsodauvaodal.EditValue2(Id, Baoanchitiet, Chitietdiemtruong);
        }

        public void EditValueNot2(int Id, bool Nhanvienhosonam, bool Nhanvienhosogoc, bool
             Thutheothang, bool Thutheonam, bool Thutunguyen, bool Thucphamngay, bool NX_Thucpham, bool Baoan, bool Muaphieuan, bool Dulieunamhientai, bool Thucdonmonan)
        {
            ClsTblThamsodauvaodal.EditValueNot2(Id, Nhanvienhosonam, Nhanvienhosogoc,
                Thutheothang, Thutheonam, Thutunguyen, Thucphamngay, NX_Thucpham, Baoan, Muaphieuan, Dulieunamhientai, Thucdonmonan);
        }
    }
}
